
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <qvbox.h>

class QToolButton;
class QLineEdit;
class QSlider;

class Sound;
class Config;
class LoadSave;
class Channel;
class MenuBar;
class TabWidget;
class MyStatusBar;

//////////class
class MainWindow:public QVBox
{
    Q_OBJECT			//// 
  public:
    MainWindow (QWidget * parent = 0, const char *name = 0);
     ~MainWindow ();
    QToolButton *buttonchannel;
    QToolButton *buttonexpand;
    QToolButton *buttonsearch;
    Channel *channel;
    MenuBar *menubar;
    Config *vboxconfig;
    TabWidget *tabwidget;
    MyStatusBar *statusbar;
    QLineEdit *editsearch;

  private:
      LoadSave * loadsave;
    Sound *sound;
    QSlider *slidersound;

  protected:
    void keyPressEvent (QKeyEvent *);

    private slots:		////
    void timerDone ();
    void onButtonExpandClicked ();
    bool onButtonSearchClicked ();
};

#endif
